//
//  SDGetMoreView.h
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>

#define LAYOUT_HEIGHT 55

typedef enum
{
    QNGetMoreTableViewCellStyleNone = 0,
    QNGetMoreTableViewCellStyleGetMore = 1,
    QNGetMoreTableViewCellStyleWaiting,
    QNGetMoreTableViewCellStyleAllLoad,
    //	QNGetMoreTableViewCellStyleSize,
    QNGetMoreTableViewCellStyleFresh,
} QNGetMoreTableViewCellStyle;


@interface SDGetMoreView : UIView
{
    UIActivityIndicatorView*	waitingView_;
    
    BOOL						gradientBackground_;
}

@property (nonatomic, strong) UILabel* customTextLabel;
@property (nonatomic, assign) QNGetMoreTableViewCellStyle style;
@property (nonatomic)         BOOL  hasMoreData;
@property (nonatomic,strong) NSString* nomoreTipString;
@property (nonatomic,strong) NSString* moreTipString;
@property (nonatomic,strong) NSString* refreshTipString;
@property (nonatomic,strong) UIImageView * loadingView;

+ (NSUInteger)getHeight;

- (void)readyToStartLoading;
- (void)startLoading;
- (void)finishLoading;
@end